package com.example.componenttest;

import android.os.Bundle;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class SimpleComponentActivity extends AppCompatActivity {
    private TextView tv_main_message;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_simple_component);
        tv_main_message=(TextView)findViewById(R.id.tv_simple_message);
        tv_main_message.setText("ilovelxy");
    }
}
